package com.txt.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.text.MessageFormat;

@Slf4j
@Component
public class RedisReceiverEvent implements RedisReceiver{
    @Override
    public void receiveMessage(String message) {
        log.info(MessageFormat.format("接收到redis key: {0}", message));
    }
}
